package com.example.dao;

import com.example.domain.pojo.Order;
import java.util.List;
import java.util.Map;

public interface OrderDao {
//    Long selectDate(Object orderDate);

    List<Order> findOrder(Order order); //这里为什么是集合类型

    void add(Order order);

    Order findOrderById(Integer id);

    //三张表关联查询
    Map selectOrderById(Integer id);

    Long findCountById(Integer id);

    Long findDateCount(String date);

    Long findVisitCount(Map<String, String> map);

    Long findWeekCount(Map<String, String> week);

    Long findVisitWeekCount(Map<String, String> week);
}
